﻿using System;

namespace SharpSqlAnalyzer.nodes.oracle
{
	// Token: 0x020003A4 RID: 932
	public class TTimingPoint : TParseTreeNode
	{
		// Token: 0x17000868 RID: 2152
		// (get) Token: 0x0600264C RID: 9804 RVA: 0x0033A72B File Offset: 0x0033892B
		// (set) Token: 0x0600264B RID: 9803 RVA: 0x0033A722 File Offset: 0x00338922
		public virtual TExceptionClause ExceptionClause
		{
			get
			{
				return this.exceptionClause;
			}
			set
			{
				this.exceptionClause = value;
			}
		}

		// Token: 0x17000869 RID: 2153
		// (get) Token: 0x0600264D RID: 9805 RVA: 0x0033A733 File Offset: 0x00338933
		// (set) Token: 0x0600264E RID: 9806 RVA: 0x0033A74E File Offset: 0x0033894E
		public virtual TStatementList BodyStatements
		{
			get
			{
				if (this.bodyStatements == null)
				{
					this.bodyStatements = new TStatementList();
				}
				return this.bodyStatements;
			}
			set
			{
				this.bodyStatements = value;
			}
		}

		// Token: 0x0600264F RID: 9807 RVA: 0x0033A757 File Offset: 0x00338957
		public override void init(object arg1)
		{
			this.stmts = (TStatementListSqlNode)arg1;
		}

		// Token: 0x06002650 RID: 9808 RVA: 0x0033A768 File Offset: 0x00338968
		public override void doParse(TCustomSqlStatement psql, ESqlClause plocation)
		{
			for (int i = 0; i < this.stmts.size(); i++)
			{
				this.stmts.getStatementSqlNode(i).doParse(psql, plocation);
				this.BodyStatements.add(this.stmts.getStatementSqlNode(i).Stmt);
			}
			if (this.ExceptionClause != null)
			{
				this.ExceptionClause.doParse(psql, ESqlClause.unknown);
			}
		}

		// Token: 0x06002651 RID: 9809 RVA: 0x0033A7CF File Offset: 0x003389CF
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06002652 RID: 9810 RVA: 0x0033A7DF File Offset: 0x003389DF
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001D16 RID: 7446
		private TStatementListSqlNode stmts;

		// Token: 0x04001D17 RID: 7447
		private TExceptionClause exceptionClause;

		// Token: 0x04001D18 RID: 7448
		private TStatementList bodyStatements;
	}
}
